package com.allwees.bs.module.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@TableName("pay_payment_log")
public class PaymentLog {


    private String no;

    //支付方式，paypal,credit
    private String type;

    //订单ID
    private String orderUuid;

    //订单总价
    private BigDecimal amt;

    //币种
    private String currency;

    //第三方的支付token
    private String paymentToken;

    //第三方支付的交易流水号
    private String paymentNumber;

    //支付者账号邮箱
    private String payerEmail;

    //支付者ID
    private String payerId;

    //支付方式，在paypal下级的支付方式，信用卡，余额等
    private String paymentType;

    //退款状态
    private Integer refundStatus;

    //退款金额
    private BigDecimal refundAmt;

    //退款时间
    private Date refundTime;

    //支付过期时间
    private Date paymentExpiresAt;
}
